WP_Defender\Controller\Two_Factor B

Total Complexity 95
Dependencies 13
Dependents 6
Total lines 747
Lines of code 490
Logical lines of code 228
Comment lines 172
Methods 30
Properties 4

Methods 30

Method Rating Maintainability Complexity Lines of code
verify_otp_login_time()
A
39 12 66
__construct()
A
43 8 45
verify_otp_for_enabling()
S
51 6 27
filter_users_by_2fa()
S
53 6 24
maybe_redirect_to_show_2fa_enabler()
S
55 6 20
send_test_email()
S
44 4 49
render_otp_screen()
S
50 5 26
show_user_profile()
S
47 4 38
handle_woocommerce_prevent_admin_access()
S
61 4 13
handle_woocommerce_login_redirect()
S
62 4 12
send_backup_code()
S
53 3 27
maybe_show_otp_form()
S
59 3 14
save_settings()
S
54 2 24
profile_update()
S
70 3 6
check_route()
S
78 3 3
alter_user_table_row()
S
64 3 10
export_strings()
S
70 2 6
listen_for_jetpack_option()
S
69 2 7
enqueue_assets()
S
64 2 10
to_array()
S
63 2 10
import_data()
S
67 2 8
data_frontend()
S
63 1 11
woocommerce_hooks()
S
74 1 4
alter_users_table()
S
69 1 6
m2_no_ajax()
S
82 1 3
disable_2fa()
S
70 1 6
remove_data()
S
72 1 5
store_session_key()
S
75 1 4
main_view()
S
81 1 3
remove_settings()
S
81 1 3